package com.tankgame;

import javax.swing.*;
import java.awt.*;

/**
 * @author yicixingchen
 * @version 1.0
 * Create by 2022/10/16 20:29
 */

public class HspTankGame01 extends JFrame {

    //定义MyPanel
    MyPanel mp = null;

    public static void main(String[] args) {
        HspTankGame01 hspTankGame01 = new HspTankGame01();

    }

    public HspTankGame01() {
        mp = new MyPanel();
        this.add(mp);
        this.setSize(1000, 750);
        this.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
        this.setVisible(true);
    }
}
